package com.gss.datasource.mapper.sys;

import com.gss.common.core.mapper.IBaseMapper;
import com.gss.entity.sys.dto.SysDept;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author DYang
 * @date 2023/6/17
 */
public interface SysDeptMapper extends  IBaseMapper<SysDept> {

    /**
     * 获取启用的部门权限
     * @param userId
     * @return
     */
    List<SysDept> getDeptEnableListByUserId(@Param("userId") Integer userId);
}
